<!DOCTYPE HTML>
<html>
<head>
<include file="Public/head" />
<link href="__CSS__/view.css" rel="stylesheet" />
</head>
<body>
	<include file="Public/header" />
	<div id="main-container" class="container">
		<div class="row">
			<!-- left side -->
			<div class="col-xs-9">
				<div class="video-title-info">
					<i class="video-title-tip-box"></i> <span class="video-title-tip">
						<span class="title-content">
							<h3>{$video.title}</h3>
					</span>
					</span> </span>
				</div>
				<div class="video-team-info">


					<div class="video-info">
						<embed align="none" allowfullscreen="true"
							allowscriptaccess="never" class="edui-faked-video" height="542"
							loop="false" menu="false" play="true"
							pluginspage="http://www.macromedia.com/go/getflashplayer"
							src="{$video.flash_url}" type="application/x-shockwave-flash"
							width="890" wmode="transparent">
							
					</div>


				</div>
				<!-- 视频操作 -->
				<div class="video-base-info">
					<div class="mod－action">
						<div class="action-item action-collect">
							<a> <span class="glyphicon glyphicon-star  action-item-icon"></span><span
								class="action-item-text"> 收藏</span>
							</a>
						</div>
						<div class="action-item action-share">
							<a> <span class="glyphicon glyphicon-share action-item-icon"></span><span
								class="action-item-text"> 分享</span>
							</a>
						</div>
						<div class="action-item action-phone">
							<a> <span class="glyphicon glyphicon-phone action-item-icon"></span><span
								class="action-item-text">手机观看</span>
							</a>
						</div>
					</div>

					<div class="video-match-game-tag">
						<span>游戏：<a href="{:U('/game/'.$video['game_id'])}">{:get_game($video['game_id'],'title')}</a></span>

						<span>标签:</span>
						<ul>
							<volist name="video['format_tags']" id="format_tag">
							<li><a href="{:U('/tag/'.$format_tag)}">{$format_tag}</a>
							<li>
							</volist>
						</ul>
					</div>

				</div>

				<!-- 个人信息 -->
				<div class="video-user-info">

					<div class="user-area">
						<php> $user =
						query_user(array('avatar','username'),$video['uid']); </php>

						<div class="user-thumb">
							<a href="{:U('/u/'.$video['id'])}"><img
								src="__PUBLIC__/Core/images/placeholder.png"
								lazy-src="{$user.avatar}" height="84" width="84" /> </a>
						</div>

						<div class="user-info">

							<div class="user-name">
								<a href="{:U('/u/'.$video['uid'])}">{$user.username}</a>
							</div>

							<div class="user-subscription">

								<a href="javascript:;" class="btn-user-subscription"
									id="mod_follow_btn" data-value="{$video.uid}">订阅</a>
							</div>

						</div>
					</div>

					<div class="video-info-area">

						<div class="title">
							<h4>{$video.title}</h4>
						</div>
						<div class="tags">
							<span><span class="info-label">添加时间:</span>{:date('Y-m-d',$video['create_time'])}</span>
							<span>
								<ul>
									<volist name="video['format_tags']" id="format_tag">
									<li><a href="{:U('/tag/'.$format_tag)}">{$format_tag}</a>
									<li>
									</volist>
								</ul>
							</span>
						</div>
						<div class="description">
							<span class="info-label">简介:</span><span class="pull-left"><p>{$video.description}</p></span>
						</div>
					</div>

				</div>


				<div class="">

					<div class="column-content">
						<div class="column-content-title">
							<i class="title-tip-box"></i> <span class="title-tip"><a
								href="{:U('/u/'.$video['uid'])}">作者最新视频 </a></span> </span> <span
								class="pull-right"> <a
								href="{:U('/u/'.$video['uid'])}">更多视频</a>
							</span>
						</div>
					</div>
					<div class="column-content">

						<div class="author-video-list">
							<ul>
								<volist name="uservideos" id="uservideo">
								<li>
									<div class="author-video-thumb">
										<a href="{:U('/video/'.$uservideo['id'])}"> <img
											src="__PUBLIC__/Core/images/placeholder.png"
											lazy-src="{:query_picture('url',$uservideo['cover'])}"
											alt="{$uservideo['title']}" width="216px" height="120px">
										</a>
									</div>
									<div class="author-video-des">{$uservideo.title}</div>
								</li>
								</volist>
							</ul>
						</div>
					</div>


				</div>


				<div class="comment">
					<!-- 多说评论框 start -->
					<div class="ds-thread" data-thread-key="video-{$video['id']}"
						data-title="{$video.title}"
						data-url="http://www.quntiao.com/matchgame/{$matchgame.id}.html"></div>
					<!-- 多说评论框 end -->
					<!-- 多说公共JS代码 start (一个网页只需插入一次) -->
					<script type="text/javascript">
						var duoshuoQuery = {
							short_name : "quntiao"
						};
						(function() {
							var ds = document.createElement('script');
							ds.type = 'text/javascript';
							ds.async = true;
							ds.src = (document.location.protocol == 'https:' ? 'https:'
									: 'http:')
									+ '//static.duoshuo.com/embed.js';
							ds.charset = 'UTF-8';
							(document.getElementsByTagName('head')[0] || document
									.getElementsByTagName('body')[0])
									.appendChild(ds);
						})();
					</script>
					<!-- 多说公共JS代码 end -->

				</div>


			</div>
			<!-- right side -->
			<div class="col-xs-3">



				<div class="row">
					<div class="col-xs-12  column-content">
						<div class="column-content-title">
							<i class="title-tip-box"></i> <span class="title-tip"><a
								href="{:U('competition/video')}">相关视频</a></span> <span
								class="pull-right"></span>
						</div>
					</div>
					<div class="col-xs-12  column-content">
						<div class="side-matchvideo-list">
							<ul>
								<volist name="nearvideos" id="nearvideo">
								<li>

									<div class="v-thumb">
										<a href="{:U('/video/'.$nearvideo['id'])}" onclick=""> <img
											src="__PUBLIC__/Core/images/placeholder.png"
											lazy-src="{:query_picture('url',$nearvideo['cover'])}"
											alt="{$nearvideo['title']}" width="145px" height="80px"></a>

									</div>

									<div class="v-meta">

										<div class="v-meta-title">
											<a href="{:U('/video/'.$nearvideo['id'])}">{$nearvideo['title']}</a>

										</div>

										<div class="v-num">
											<span class="glyphicon glyphicon-facetime-video  "></span> <span
												class="v-meta-des">{$nearvideo['views']}</span>
										</div>
									</div>

								</li>
								</volist>
							</ul>
						</div>
					</div>
				</div>

			</div>
		</div>
	</div>
	<script type="text/javascript">
		$(function() {
			$(window).resize(
					function() {
						$("#main-container").css("min-height",
								$(window).height() - 343);
					}).resize();
		});
	</script>
	<!-- /主体 -->
	<!-- 底部 -->
	<include file="Public/footer" />
	<!-- /底部 -->
</body>
</html>